# optionalExpression attribute

The optionalExpression attribute specifies the expression to use with the Value connection. At run time, the application calculates the value of the expression and writes the result to the Value control.

The connection element within the connections elements of the numericInputEnable and numericInputCursorPoint graphic object elements contains this attribute.

FactoryTalk View equivalent: Value/Optional Expression

## See also

connections and connection elements

optionalExpression attribute syntax